import axios from 'axios'
export default function (scheduleId) {
    return new Promise(function (resolve, reject) {
        axios({
            url: `https://m.maizuo.com/gateway/?scheduleId=${scheduleId}&k=9655787`,
            headers: {
                "X-Host": "mall.film-ticket.schedule.info",
                "X-Client-Info": `{"a":"3000","ch":"1002","v":"5.0.4","e":"1632883373297662708449281","bc":"310100"}`
            },
            method: "GET"
        }).then(function (response) {
            resolve(response.data.data)
        }).catch(function (error) {
            reject(error)
        })
    })
}




